﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <title>TrafficLight: com.stateforge.statemachine.examples.trafficlight.Light Class Reference</title>
    <link href="/Content/Help.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/tabs.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="header">
        <img id="logo" alt="StateForge" src="/Content/Images/StateForgeLogo.png" />
        <div id="title">
            <h1>
                Examples using state machines generated by StateBuilderJava
            </h1>
            <h3>
                TrafficLight: com.stateforge.statemachine.examples.trafficlight.Light Class Reference
            </h3>
        </div>
        <div id="menucontainer">
            <ul id="menu">
                <li><a href="/">Home</a></li>
                <li><a href="/Home/Download">Downloads</a></li>
                <li><a href="/Help/state-machine-tools.aspx">Help</a></li>
                <li><a href="/Home/Faq">F.A.Q</a></li>
                <li><a href="/Home/About">Contact us</a></li>
            </ul>
        </div>
    </div>
<!-- Generated by Doxygen 1.7.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacecom.html">com</a>      </li>
      <li class="navelem"><a class="el" href="namespacecom_1_1stateforge.html">stateforge</a>      </li>
      <li class="navelem"><a class="el" href="namespacecom_1_1stateforge_1_1statemachine.html">statemachine</a>      </li>
      <li class="navelem"><a class="el" href="namespacecom_1_1stateforge_1_1statemachine_1_1examples.html">examples</a>      </li>
      <li class="navelem"><a class="el" href="namespacecom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight.html">trafficlight</a>      </li>
      <li class="navelem"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html">Light</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">com.stateforge.statemachine.examples.trafficlight.Light Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="com::stateforge::statemachine::examples::trafficlight::Light" -->
<p><a href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#ab6fd049738c48d39f2440f207af86b6a">turnOnGreen</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#ae668eacc89b5f319bfdbaffd40e46637">turnOffGreen</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#afedeec9927d6ef6a9609d7cff19932f4">turnOnYellow</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a1e5b3de4dd7938c712bdeecbc8909866">turnOffYellow</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#ad5db1e630df9d1264b4cf491a7a1cf1d">turnOnRed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a826705a272cf1ae6dbb5a30cd96807e7">turnOffRed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#aafa2822a2d42075e0ae74ef076a2e413">setRedDuration</a> (long <a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#afce73229eeb94237315aca8b1de2adad">redDuration</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a11b17138c41d9e609149fd9ca49b483b">getRedDuration</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a34d8e34d2372a088e983a90a8b8a5212">setYellowDuration</a> (long <a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a274af77bf000a8748ccdeaa8846a15a8">yellowDuration</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a798e83304c7efe0c6f3526ec34d47239">getYellowDuration</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a1568c0642b83b3413cfd6c06d4b5f82f">setGreenDuration</a> (long <a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a4430923140588336669c804c46281e8d">greenDuration</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#aed451b2d2a3b467fddfcf3a079c7d375">getGreenDuration</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a387f7129d693e32b0bd815d69aa1bacf">setMaxDuration</a> (long <a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a8f835c80735ffd96f19b4759da8da80e">maxDuration</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a403a34dd9e502e0c76403b3e09eb5cee">getMaxDuration</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#afce73229eeb94237315aca8b1de2adad">redDuration</a> = 1000</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a274af77bf000a8748ccdeaa8846a15a8">yellowDuration</a> = 1000</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a4430923140588336669c804c46281e8d">greenDuration</a> = 1000</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a8f835c80735ffd96f19b4759da8da80e">maxDuration</a> = 3500</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_light_8java_source.html#l00003">3</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aed451b2d2a3b467fddfcf3a079c7d375"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::getGreenDuration" ref="aed451b2d2a3b467fddfcf3a079c7d375" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long com.stateforge.statemachine.examples.trafficlight.Light.getGreenDuration </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00059">59</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
<div class="fragment"><pre class="fragment">                                   {
        <span class="keywordflow">return</span> <a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a4430923140588336669c804c46281e8d">greenDuration</a>;
    }
</pre></div>
</div>
</div>
<a class="anchor" id="a403a34dd9e502e0c76403b3e09eb5cee"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::getMaxDuration" ref="a403a34dd9e502e0c76403b3e09eb5cee" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long com.stateforge.statemachine.examples.trafficlight.Light.getMaxDuration </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00067">67</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
<div class="fragment"><pre class="fragment">                                 {
        <span class="keywordflow">return</span> <a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a8f835c80735ffd96f19b4759da8da80e">maxDuration</a>;
    }
</pre></div>
</div>
</div>
<a class="anchor" id="a11b17138c41d9e609149fd9ca49b483b"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::getRedDuration" ref="a11b17138c41d9e609149fd9ca49b483b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long com.stateforge.statemachine.examples.trafficlight.Light.getRedDuration </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00043">43</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
<div class="fragment"><pre class="fragment">                                 {
        <span class="keywordflow">return</span> <a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#afce73229eeb94237315aca8b1de2adad">redDuration</a>;
    }
</pre></div>
</div>
</div>
<a class="anchor" id="a798e83304c7efe0c6f3526ec34d47239"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::getYellowDuration" ref="a798e83304c7efe0c6f3526ec34d47239" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long com.stateforge.statemachine.examples.trafficlight.Light.getYellowDuration </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00051">51</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
<div class="fragment"><pre class="fragment">                                    {
        <span class="keywordflow">return</span> <a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a274af77bf000a8748ccdeaa8846a15a8">yellowDuration</a>;
    }
</pre></div>
</div>
</div>
<a class="anchor" id="a1568c0642b83b3413cfd6c06d4b5f82f"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::setGreenDuration" ref="a1568c0642b83b3413cfd6c06d4b5f82f" args="(long greenDuration)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.trafficlight.Light.setGreenDuration </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>greenDuration</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00055">55</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
<div class="fragment"><pre class="fragment">                                                     {
        this.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a4430923140588336669c804c46281e8d">greenDuration</a> = <a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a4430923140588336669c804c46281e8d">greenDuration</a>;
    }
</pre></div>
</div>
</div>
<a class="anchor" id="a387f7129d693e32b0bd815d69aa1bacf"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::setMaxDuration" ref="a387f7129d693e32b0bd815d69aa1bacf" args="(long maxDuration)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.trafficlight.Light.setMaxDuration </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>maxDuration</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00063">63</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
<div class="fragment"><pre class="fragment">                                                 {
        this.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a8f835c80735ffd96f19b4759da8da80e">maxDuration</a> = <a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a8f835c80735ffd96f19b4759da8da80e">maxDuration</a>;
    }
</pre></div>
</div>
</div>
<a class="anchor" id="aafa2822a2d42075e0ae74ef076a2e413"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::setRedDuration" ref="aafa2822a2d42075e0ae74ef076a2e413" args="(long redDuration)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.trafficlight.Light.setRedDuration </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>redDuration</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00039">39</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
<div class="fragment"><pre class="fragment">                                                 {
        this.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#afce73229eeb94237315aca8b1de2adad">redDuration</a> = <a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#afce73229eeb94237315aca8b1de2adad">redDuration</a>;
    }
</pre></div>
</div>
</div>
<a class="anchor" id="a34d8e34d2372a088e983a90a8b8a5212"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::setYellowDuration" ref="a34d8e34d2372a088e983a90a8b8a5212" args="(long yellowDuration)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.trafficlight.Light.setYellowDuration </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>yellowDuration</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00047">47</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
<div class="fragment"><pre class="fragment">                                                       {
        this.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a274af77bf000a8748ccdeaa8846a15a8">yellowDuration</a> = <a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a274af77bf000a8748ccdeaa8846a15a8">yellowDuration</a>;
    }
</pre></div>
</div>
</div>
<a class="anchor" id="ae668eacc89b5f319bfdbaffd40e46637"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::turnOffGreen" ref="ae668eacc89b5f319bfdbaffd40e46637" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.trafficlight.Light.turnOffGreen </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00015">15</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
<div class="fragment"><pre class="fragment">    {
        System.out.println(<span class="stringliteral">&quot;TurnOffGreen&quot;</span>);
    }
</pre></div>
</div>
</div>
<a class="anchor" id="a826705a272cf1ae6dbb5a30cd96807e7"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::turnOffRed" ref="a826705a272cf1ae6dbb5a30cd96807e7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.trafficlight.Light.turnOffRed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00034">34</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
<div class="fragment"><pre class="fragment">    {
        System.out.println(<span class="stringliteral">&quot;TurnOffRed&quot;</span>);
    }
</pre></div>
</div>
</div>
<a class="anchor" id="a1e5b3de4dd7938c712bdeecbc8909866"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::turnOffYellow" ref="a1e5b3de4dd7938c712bdeecbc8909866" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.trafficlight.Light.turnOffYellow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00025">25</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
<div class="fragment"><pre class="fragment">    {
        System.out.println(<span class="stringliteral">&quot;TurnOffYellow&quot;</span>);
    }
</pre></div>
</div>
</div>
<a class="anchor" id="ab6fd049738c48d39f2440f207af86b6a"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::turnOnGreen" ref="ab6fd049738c48d39f2440f207af86b6a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.trafficlight.Light.turnOnGreen </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00010">10</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
<div class="fragment"><pre class="fragment">    {
        System.out.println(<span class="stringliteral">&quot;TurnOnGreen&quot;</span>);
    }
</pre></div>
</div>
</div>
<a class="anchor" id="ad5db1e630df9d1264b4cf491a7a1cf1d"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::turnOnRed" ref="ad5db1e630df9d1264b4cf491a7a1cf1d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.trafficlight.Light.turnOnRed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00029">29</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
<div class="fragment"><pre class="fragment">    {
        System.out.println(<span class="stringliteral">&quot;TurnOnRed&quot;</span>);
    }
</pre></div>
</div>
</div>
<a class="anchor" id="afedeec9927d6ef6a9609d7cff19932f4"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::turnOnYellow" ref="afedeec9927d6ef6a9609d7cff19932f4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.stateforge.statemachine.examples.trafficlight.Light.turnOnYellow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00020">20</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>
<div class="fragment"><pre class="fragment">    {
        System.out.println(<span class="stringliteral">&quot;TurnOnYellow&quot;</span>);
    }
</pre></div>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a4430923140588336669c804c46281e8d"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::greenDuration" ref="a4430923140588336669c804c46281e8d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long <a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a4430923140588336669c804c46281e8d">com.stateforge.statemachine.examples.trafficlight.Light.greenDuration</a> = 1000<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00007">7</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>

</div>
</div>
<a class="anchor" id="a8f835c80735ffd96f19b4759da8da80e"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::maxDuration" ref="a8f835c80735ffd96f19b4759da8da80e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long <a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a8f835c80735ffd96f19b4759da8da80e">com.stateforge.statemachine.examples.trafficlight.Light.maxDuration</a> = 3500<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00008">8</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>

</div>
</div>
<a class="anchor" id="afce73229eeb94237315aca8b1de2adad"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::redDuration" ref="afce73229eeb94237315aca8b1de2adad" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long <a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#afce73229eeb94237315aca8b1de2adad">com.stateforge.statemachine.examples.trafficlight.Light.redDuration</a> = 1000<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00005">5</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>

</div>
</div>
<a class="anchor" id="a274af77bf000a8748ccdeaa8846a15a8"></a><!-- doxytag: member="com::stateforge::statemachine::examples::trafficlight::Light::yellowDuration" ref="a274af77bf000a8748ccdeaa8846a15a8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long <a class="el" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1trafficlight_1_1_light.html#a274af77bf000a8748ccdeaa8846a15a8">com.stateforge.statemachine.examples.trafficlight.Light.yellowDuration</a> = 1000<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_light_8java_source.html#l00006">6</a> of file <a class="el" href="_light_8java_source.html">Light.java</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/main/java/com/stateforge/statemachine/examples/trafficlight/<a class="el" href="_light_8java_source.html">Light.java</a></li>
</ul>
</div>
﻿<div id="footer">
    <hr />
    <p>
        Copyright &copy; 2011 StateForge.</p>
    <hr />
</div>
</body> </html> 
